var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data|15":[
  		{
  			"key|+1":1,
  			"number|1":['许继电气（000400）','美的集团（000333）','南方航空（600029）'],
  			"time":"@datetime()",
  			"num":'@integer(1,10000)',
  			"direction|1":['买入','卖出'],
  			"status|1":['已成','已撤'],
  			"price":'@float(60, 100, 0, 2)',
  			"averagePrice":'@float(1, 100, 0, 2)',
  			"entrustmentPrice":'@float(60, 10000, 0, 2)',
  			"turnoverPrice":'@float(60, 10000, 0, 2)',
  			"turnoverNum":'@integer(1,10000)'
  		}
  	]
	})
}
